<?php

namespace App\Repositories\Admin;

use App\BaseRepository;

class ProductCategoryRepository extends BaseRepository
{
    //模型名称
    protected $modelName = "App\Model\ProductCategory";

    protected function commonRules()
    {
        return [
            'name'=>'required'
        ];
    }
}